import request from '@/utils/request'

// 获取计算机列表
export const getComputerList = (data) => {
  return request({
    url: '/computer/list',
    method: 'get',
    params:data
  })
}

// 获取计算机列表
export const deleteComputer = (data) => {
    return request({
      url: '/computer/del/'+data.id,
      method: 'post',
      data:data
    })
  }